<template>
	<view>
		<view class="head">
			<view class="head-img" @click="mine">
				<image :src="headImg" mode=""></image>
			</view>
			<image class="logo-img" src="../../static/img/logo/logo03.png"></image>
			<view class="" @click="search">
				<image class="search-img" src="../../static/img/icon/icon-search.png"></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				headImg: '../../static/img/img/zxy.jpg'
			};
		},
		methods: {
			mine() {
				console.log(111)
			},
			search() {
				uni.navigateTo({
					url: '../../pages/search/search'
				});
			}
		}
	}
</script>

<style lang="less">
	.head {
		height: 44px;
		background-color: #151A1E;
		display: flex;
		justify-content: space-between;
		align-items: center;

		.head-img {
			width: 36px;
			height: 36px;
			border-radius: 50%;
			background-color: #fff;
			margin-left: 10px;
			overflow: hidden;

			image {
				width: 36px;
				height: 36px;
			}
		}

		.logo-img {
			width: 160px;
			height: 22.5px;
		}

		.search-img {
			width: 24px;
			height: 24px;
			margin-right: 10px;
		}
	}
</style>
